package info.javatech.jmf.client.controller;

import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class JMFMidlet extends MIDlet{
    
    JMFClientController controller;
    
    public JMFMidlet() {
        controller = new JMFClientController(this);
        
        Display.getDisplay(this).setCurrent(new Alert("loading"));
    }

    protected void startApp() throws MIDletStateChangeException {
        controller.doInitialRequest();
    }

    protected void pauseApp() {
    }

    protected void destroyApp(boolean b) throws MIDletStateChangeException {
    }
    
}
